<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>恶意流量生成系统</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-image: url('static/background.png');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
        }
        header {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 10px 0;
            text-align: center;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
        }
        nav ul {
            list-style-type: none;
            padding: 0;
            display: flex;
            justify-content: center;
        }
        nav ul li {
            margin: 0 15px;
        }
        nav ul li a {
            text-decoration: none;
            color: black;
            font-weight: bold;
        }
        nav ul li a:hover {
            color: rgb(85,153,222);
        }
        main {
            max-width: 600px;
            margin: 70px 20px 20px;
            text-align: center;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 20px;
            border-radius: 10px;
        }
        main h1 {
            font-size: 2em;
        }
        main p {
            line-height: 1.6;
        }
        footer {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 10px 0;
            text-align: center;
            position: fixed;
            bottom: 0;
            left: 0;
            z-index: 1000;
        }
        .button {
            display: inline-block;
            padding: 10px 20px;
            margin-top: 20px;
            border: 2px solid #007BFF;
            border-radius: 20px;
            text-decoration: none;
            color: white; /* 白色文本 */
            font-weight: bold;
            background-color: #007BFF; /* 蓝色背景 */
            transition: background-color 0.3s, color 0.3s; /* 平滑颜色变化 */
        }
        .button:hover {
            background-color: #0056b3; /* 深蓝色背景 */
            color: #ffffff; /* 白色文本 */
        }
    </style>
</head>
<body>
    <header>
        <nav>
            <ul>
                <li><a href="/index">首页</a></li>
                <li><a href="/introduction">系统介绍</a></li>
                <li><a href="/perturbation">参数设置</a></li>
                <li><a href="/generate">流量生成</a></li>
                <li><a href="/detect">检测测试</a></li>
            </ul>
        </nav>
    </header>
    <main>
        <h1>恶意流量生成系统</h1>
        <p>本系统基于GAN和元学习技术，旨在生成与原始流量相似的伪装流量，以测试网络安全检测系统的有效性。</p>
        <p>系统功能包括：</p>
        <ul>
            <li>在KDD99数据集基础上添加扰动机制。</li>
            <li>利用对抗生成网络（GAN）实现恶意流量的黑盒生成。</li>
            <li>对生成的流量进行检测测试，评估逃逸率。</li>
        </ul>
        <a href="/introduction" class="button">点击尝试</a>
    </main>
    <footer>
        <p>&copy; 2025 恶意流量生成系统</p>
    </footer>
</body>
</html>